import { USER_INFO }  from '../actions/actionTypes'
import {Map} from 'immutable'

export const userInfo = (state = Map({}),action) =>{
  switch (action.type){
    case USER_INFO:
      return action.data
    default:
      return state
  }
}
